package com.hdax.dm.entity.order;


import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hdax.dm.entity.BaseTimeEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("dm_order")
public class DmOrder extends BaseTimeEntity {

  @TableId
  private Long id;
  private String orderNo;
  private Long userId;
  private Long schedulerId;
  private Long itemId;
  private String itemName;
  private String wxTradeNo;
  private String aliTradeNo;
  private Long orderType;
  private Long payType=1L;
  private Long totalCount;
  private Long area;
  private Long sourceType=0L;
  private Long isNeedInvoice;
  private Long invoiceType;
  private String invoiceHead;
  private String invoiceNo;
  private Long isNeedInsurance;
  private Double totalAmount;
  private Double insuranceAmount;

}
